package zju.ccnt.rest.repository;

import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;
import zju.ccnt.rest.domain.BusinessUser;

/**
 * Created by zha on 14/11/3.
 */
@Repository
public interface BusinessUserRepository extends PagingAndSortingRepository<BusinessUser, String> {
    BusinessUser findByEmail(String email);
    BusinessUser findById(String id);
}
